package com.bskj.common.bean.model;

import java.util.Date;

/**
 * 用户账户资金日志
 *
 * @author lishi
 * @date 2017-11-29 下午5:51:09
 */
public class UserMoneyLog extends BaseModels implements BaseModel {
    private Integer id; // 主键
    private Integer userId; // 用户ID（t_user_info.id）
    private Integer changeType; // 金额变化类型（1-增加 2-减少）
    private String orderNo; // 订单号（充值时使用）
    private Integer parkInfoId; // 停车记录ID
    private Integer refundInfoId; //退款记录（t_refund_info.id）
    private String sourceType; //赠券来源类型（现在只有t_topup_activity）
    private Integer sourceId; //赠券来源ID
    private Integer beforeMoney; // 更改前的金额（单位：角）
    private Integer changeMoney; // 更改金额（单位：角）
    private Integer afterMoney; // 更改后的金额（单位：角）
    private Integer beforeCoupon; // 更改前的赠券（单位：角）
    private Integer changeCoupon; // 更改赠券（单位：角）
    private Integer afterCoupon; // 更改后的赠券（单位：角）
    private Date createTime; // 创建时间
    private Date updateTime; // 修改时间
    @Column
    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }
    @Column
    public Integer getUserId() {
        return userId;
    }

    public void setUserId(Integer userId) {
        this.userId = userId;
    }
    @Column
    public Integer getChangeType() {
        return changeType;
    }

    public void setChangeType(Integer changeType) {
        this.changeType = changeType;
    }
    @Column
    public String getOrderNo() {
        return orderNo;
    }

    public void setOrderNo(String orderNo) {
        this.orderNo = orderNo;
    }
    @Column
    public Integer getParkInfoId() {
        return parkInfoId;
    }

    public void setParkInfoId(Integer parkInfoId) {
        this.parkInfoId = parkInfoId;
    }
    @Column
    public Integer getRefundInfoId() {
        return refundInfoId;
    }

    public void setRefundInfoId(Integer refundInfoId) {
        this.refundInfoId = refundInfoId;
    }
    @Column
    public Integer getBeforeMoney() {
        return beforeMoney;
    }

    public void setBeforeMoney(Integer beforeMoney) {
        this.beforeMoney = beforeMoney;
    }
    @Column
    public Integer getChangeMoney() {
        return changeMoney;
    }

    public void setChangeMoney(Integer changeMoney) {
        this.changeMoney = changeMoney;
    }
    @Column
    public Integer getAfterMoney() {
        return afterMoney;
    }

    public void setAfterMoney(Integer afterMoney) {
        this.afterMoney = afterMoney;
    }
    @Column
    public Integer getBeforeCoupon() {
        return beforeCoupon;
    }

    public void setBeforeCoupon(Integer beforeCoupon) {
        this.beforeCoupon = beforeCoupon;
    }
    @Column
    public Integer getChangeCoupon() {
        return changeCoupon;
    }

    public void setChangeCoupon(Integer changeCoupon) {
        this.changeCoupon = changeCoupon;
    }
    @Column
    public Integer getAfterCoupon() {
        return afterCoupon;
    }

    public void setAfterCoupon(Integer afterCoupon) {
        this.afterCoupon = afterCoupon;
    }
    @Column
    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }
    @Column
    public Date getUpdateTime() {
        return updateTime;
    }

    public void setUpdateTime(Date updateTime) {
        this.updateTime = updateTime;
    }
    @Column
    public String getSourceType() {
        return sourceType;
    }

    public void setSourceType(String sourceType) {
        this.sourceType = sourceType;
    }
    @Column
    public Integer getSourceId() {
        return sourceId;
    }

    public void setSourceId(Integer sourceId) {
        this.sourceId = sourceId;
    }
}
